package _Pan3D.program.shaders
{
	import _Pan3D.program.Shader3D;
	
	public class DynmicUVShader extends Shader3D
	{
		public static var DYNMICUVSHADER:String = "dynmicuvshader";
		public function DynmicUVShader()
		{
			vertex = 
				"m44 vt0, va0, vc4 \n" + //基础变化值
				"m44 op, vt0, vc0 \n" + //输出
				"add vt1,va1,vc12 \n" + 
				"mov v1,vt1"
			fragment =
				"tex ft1, v1, fs0 <2d,clamp,repeat>\n"+
				"add ft1.a,ft1.a,fc0.x\n" + 
				"kil ft1.x\n" + //删除透明点
				"mov oc, ft1";
		}
	}
}